import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { MeberrequestComponent } from './meberrequest/meberrequest.component';
import { UserinfoComponent } from './userinfo/userinfo.component';
import { UsermainpageComponent } from './usermainpage/usermainpage.component';

const routes: Routes = [
  {
    path:'',
    component: UsermainpageComponent
  },
  {
    path:'Meber',
    component: MeberrequestComponent
  },
  {
    path:'userinfo',
    component: UserinfoComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class UserRoutingModule { }
